package org.breeze.option;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

import javax.annotation.Resource;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) // 禁止加载自身对DataSource的扫描
@EnableScheduling
@MapperScan("org.breeze.option.demos.mapper")
public class OptionApplication {
    public static void main(String[] args) {
        SpringApplication.run(OptionApplication.class, args);
    }
}
